from rest_framework import serializers
from ..models import Business, DeviceInfo


class BusinessSerializer(serializers.ModelSerializer):
    """
    业务序列化
    """

    class Meta:
        model = Business
        fields = '__all__'
